package com.fire.market.gateway.api.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "用户登录参数")
public class UserLoginParam{
    @NotNull(message = "手机号不能为空")
    @ApiModelProperty(value = "手机号",required=true)
    private String telephone;

    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码",required=true)
    private String password;
}
